﻿using System;
using Transformable_Engine_v2.Engine.Graphics;
using Transformable_Engine_v2.Engine.Transformable_Math.Geometry;

namespace Super_Management_Mayhem.Content.Spritesheet
{
    public class ProfileIconSheet : SpriteSheetInstance
    {
        private static SpriteSheetInstance _instance;
        public static void LoadContent()
        {
            _instance = new ProfileIconSheet();
        }
        public new static Sprite GetSprite(Enum textureName)
        {
            return _instance.GetSprite(textureName);
        }

        public enum Icon
        {
            Sword = 0,
            Bomb,
            Heart,
            Fireball,
            Crown,
            Shuriken,
            Warp,
            Exclamation,
            Count,
        }

        public override string SpriteSheetPath
        {
            get
            {
                return "Content/Images/ProfileIcon.png";
            }
        }

        protected override void LoadSprites()
        {
            AddEnumList<Icon>(Icon.Sword, Icon.Exclamation, new TE_Rectangle(0, 0, 2, 2), 8);
        }
    }
}